namespace ThingsGateway.Foundation.Rpc.TouchRpc
{
    internal class CanceledPackage : RouterPackage
    {
        public long Sign { get; set; }

        public override void PackageBody(ByteBlock byteBlock)
        {
            byteBlock.Write(Sign);
        }

        public override void UnpackageBody(ByteBlock byteBlock)
        {
            Sign = byteBlock.ReadInt64();
        }
    }
}